import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'










export const shipListService = (params)=>{
    return  request.get('/admin/ship/listAll',{params:params})
}

export const shipLevelListService = (params)=>{
    return  request.get('/admin/ship/level/listPage',{params:params})
}


export const shipLevelAddService = (level)=>{
    return request.post('/admin/ship/level/add',level);

}


export const shipLevelEditService = (level)=>{
    return  request.post('/admin/ship/level/edit',level)
}
export const shipLevelDelService = (params)=>{
    return  request.get('/admin/ship/level/del',{params:params})
}
